#ifndef SKELETON_H_
#define SKELETON_H_
//a skeleton is a tree of bones.
//a bone has an implicit starting point (the location of the joint it connects to)
//a bone has an angle and length ("orientation")
//a bone has a list of outgoing bones
//a bone has a texture and textureVertices
//the bone's texture box has a size (height and width)
//the bone's texture box has a location (located at a position along the bone)

#include "Bone.h"
#include "Mouse.h"
#include "TextureManager.h"
class Skeleton
{
	Bone * head;
	Vector2D position;
	
	public:
	Skeleton(Vector2D position);
	Skeleton(Vector2D position, Bone * head);
	~Skeleton();
	
	void Draw();
	Bone * Click(Mouse * mouse);
	Vector2D GetHeadPosition();
	char * GetTag();
	char * GetPose();
	void ToggleDisplay();
	void ToggleLock();
	
};
#endif /*SKELETON_H_*/
